package jspservlet.dao;

import java.util.ArrayList;


import jspservlet.vo.Window;
import jspservlet.vo.Door;
import jspservlet.vo.Lamp;
import jspservlet.vo.Safety;
import jspservlet.vo.Humidity;
import jspservlet.vo.AutoSunVisor;
import jspservlet.vo.Device;
import jspservlet.vo.Fan;
import jspservlet.vo.FireSafety;
import jspservlet.vo.Temperature;
import jspservlet.vo.Connection;

public interface DeviceDAO {
//绑定设备	
		public int registeDevice(Device device) throws Exception; 
//修改门密码
	public int changeDoorpsw(Door door) throws Exception;
//开关门
	public int changeDoorstate(Door door) throws Exception;
//改变灯的颜色
	public int changeLampColor(Lamp lamp) throws Exception;
//改变灯的亮度
	public int changeLampLumi(Lamp lamp) throws Exception;
//改变风扇档位
	public int changeFanGear(Fan fan) throws Exception;
//改变风扇设定温度
	public int changeFanTem(Fan fan) throws Exception;
//遮阳板开关
	public int changeSunIson(AutoSunVisor autoSunVisor) throws Exception;
//改变遮阳板阈值
	public int changeSunGear(AutoSunVisor autoSunVisor) throws Exception;
//改变防盗状态
	public int changeMode(FireSafety fireSafety) throws Exception;
	
}


	
